load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_test(
    name = "chrono_conflict_test",
    srcs = ["chrono_conflict_test.cpp"],
    deps = [
        "@boost.chrono",
        "@boost.timer",
    ],
)

cc_test(
    name = "cpu_timer_info_test",
    srcs = ["cpu_timer_info.cpp"],
    local_defines = select({
        "@platforms//os:windows": ["BOOST_ALL_NO_LIB"],
        "//conditions:default": [],
    }),
    deps = [
        "@boost.detail",
        "@boost.timer",
    ],
)

cc_test(
    name = "cpu_timer_test",
    srcs = ["cpu_timer_test.cpp"],
    local_defines = select({
        "@platforms//os:windows": ["BOOST_ALL_NO_LIB"],
        "//conditions:default": [],
    }),
    deps = [
        "@boost.detail",
        "@boost.timer",
    ],
)

cc_test(
    name = "progress_display_test",
    srcs = ["progress_display_test.cpp"],
    deps = [
        "@boost.core",
        "@boost.timer",
    ],
)
